package com.mlog.njyjy.ndop.monitor.pojo;

public enum ResponseStatus {

	SUCCEED(200, "操作成功"),

	FAILED(400, "操作失败"),
	
	EXCEPTION(500, "服务器异常");

	private String message;

	private int code;

	private ResponseStatus(int code, String msg) {
		this.code = code;
		this.message = msg;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

}
